package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 成员管理对象 sys_members
 * 
 * @author riddou
 * @date 2022-04-11
 */
public class SysMembers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long memberId;

    /** 项目角色（0:负责人、1:研究员） */
    @Excel(name = "项目角色", readConverterExp = "负责人、研究员")
    private Long projectRole;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 出生年月 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生年月", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthDate;

    /**  证件类型（0:居民身份证、1:护照、2:港澳通行证） */
    @Excel(name = " 证件类型", readConverterExp = "居民身份证、护照、港澳通行证")
    private Long cardType;

    /** 证件号码 */
    @Excel(name = "证件号码")
    private String cardNumber;

    /** 性别（0男  1女） */
    @Excel(name = "性别", readConverterExp = "0=男,1=女")
    private Long gender;

    /** 从事专业 */
    @Excel(name = "从事专业")
    private String major;

    /** 职称 */
    @Excel(name = "职称")
    private String jobTitle;

    /** 职务 */
    @Excel(name = "职务")
    private String duties;

    /** 学历（0本科 1硕士 2博士 3博士后） */
    @Excel(name = "学历", readConverterExp = "0=本科,1=硕士,2=博士,3=博士后")
    private Long education;

    /** 所在单位 */
    @Excel(name = "所在单位")
    private String enterprise;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phoneNumber;

    /** 项目分工 */
    @Excel(name = "项目分工")
    private String projectDivision;

    /** 个人简介 */
    @Excel(name = "个人简介")
    private String memberResume;

    public void setMemberId(Long memberId) 
    {
        this.memberId = memberId;
    }

    public Long getMemberId() 
    {
        return memberId;
    }
    public void setProjectRole(Long projectRole) 
    {
        this.projectRole = projectRole;
    }

    public Long getProjectRole() 
    {
        return projectRole;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setBirthDate(Date birthDate) 
    {
        this.birthDate = birthDate;
    }

    public Date getBirthDate() 
    {
        return birthDate;
    }
    public void setCardType(Long cardType) 
    {
        this.cardType = cardType;
    }

    public Long getCardType() 
    {
        return cardType;
    }
    public void setCardNumber(String cardNumber) 
    {
        this.cardNumber = cardNumber;
    }

    public String getCardNumber() 
    {
        return cardNumber;
    }
    public void setGender(Long gender) 
    {
        this.gender = gender;
    }

    public Long getGender() 
    {
        return gender;
    }
    public void setMajor(String major) 
    {
        this.major = major;
    }

    public String getMajor() 
    {
        return major;
    }
    public void setJobTitle(String jobTitle) 
    {
        this.jobTitle = jobTitle;
    }

    public String getJobTitle() 
    {
        return jobTitle;
    }
    public void setDuties(String duties) 
    {
        this.duties = duties;
    }

    public String getDuties() 
    {
        return duties;
    }
    public void setEducation(Long education) 
    {
        this.education = education;
    }

    public Long getEducation() 
    {
        return education;
    }
    public void setEnterprise(String enterprise) 
    {
        this.enterprise = enterprise;
    }

    public String getEnterprise() 
    {
        return enterprise;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setProjectDivision(String projectDivision) 
    {
        this.projectDivision = projectDivision;
    }

    public String getProjectDivision() 
    {
        return projectDivision;
    }
    public void setMemberResume(String memberResume) 
    {
        this.memberResume = memberResume;
    }

    public String getMemberResume() 
    {
        return memberResume;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("memberId", getMemberId())
            .append("projectRole", getProjectRole())
            .append("name", getName())
            .append("birthDate", getBirthDate())
            .append("cardType", getCardType())
            .append("cardNumber", getCardNumber())
            .append("gender", getGender())
            .append("major", getMajor())
            .append("jobTitle", getJobTitle())
            .append("duties", getDuties())
            .append("education", getEducation())
            .append("enterprise", getEnterprise())
            .append("phoneNumber", getPhoneNumber())
            .append("projectDivision", getProjectDivision())
            .append("memberResume", getMemberResume())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
